package cn.flymod.DHG_mcpePlusEX;

import android.app.*;
import android.content.*;
import android.net.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;

public class a_texture extends Activity
{
    /** Called when the activity is first created. */
    @Override
	TextView activitytextureTextView1,activitytextureTextView2,activitytextureTextView3;
	Button activitytextureButton1,activitytextureButton2,activitytextureButton3;
    public void onCreate(Bundle savedInstanceState)
	{
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_texture);
		
		getActionBar().setDisplayHomeAsUpEnabled(true);
		
		activitytextureTextView1=(TextView)findViewById(R.id.activitytextureTextView1);
		activitytextureTextView2=(TextView)findViewById(R.id.activitytextureTextView2);
		activitytextureTextView3=(TextView)findViewById(R.id.activitytextureTextView3);
		activitytextureButton1=(Button)findViewById(R.id.activitytextureButton1);
		activitytextureButton2=(Button)findViewById(R.id.activitytextureButton2);
		activitytextureButton3=(Button)findViewById(R.id.activitytextureButton3);
		
		activitytextureTextView1.setText("材质包");
		activitytextureTextView2.setText("值得下载的材质包(注意:标注有高清的材质包需要使用对应游戏版本的高清修复mod!)");
		activitytextureTextView3.setText("●如何使用材质包:下载.zip格式的材质包→打开启动器→点击小扳手,选择启动器设置→勾选使用材质包→选择下载好的.zip格式材质包即可");
		activitytextureButton1.setText("minecraftpe吧精品区材质皮肤分类");
		activitytextureButton2.setText("安卓我的世界吧精品区材质皮肤分类");
		activitytextureButton3.setText("视频教程 - 使用材质包的方法");
		
		activitytextureButton1.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"正在打开minecraftpe吧精品区...",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/f?kw=minecraftpe&lm=4&cid=8&gaword=%E6%9D%90%E8%B4%A8%E7%9A%AE%E8%82%A4&lp=sfrs_good_area_link&mo_device=1");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitytextureButton2.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"正在打开安卓我的世界吧精品区...",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://tieba.baidu.com/f?kw=%E5%AE%89%E5%8D%93%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C&lm=4&cid=4&gaword=%E6%9D%90%E8%B4%A8%E7%9A%AE%E8%82%A4&lp=sfrs_good_area_link&mo_device=1");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});
		activitytextureButton3.setOnClickListener(new OnClickListener(){
				public void onClick(View v)
				{
					Toast.makeText(getApplicationContext(),"FLY_MOD录制 请自行下载观看",Toast.LENGTH_LONG).show();
					Uri uri= Uri.parse("http://pan.baidu.com/share/link?shareid=2233208325&uk=2470387536");
					Intent intent = new Intent(Intent.ACTION_VIEW,uri);
					startActivity(intent);
				}
	    	});

    }
}
